# Template file for 'systemshock'
pkgname=systemshock
version=0.7.8b
revision=3
_commit="ae36cec2c301a0b28221eb499cf23208be65f316"
build_style=cmake
hostmakedepends="pkgconf"
makedepends="SDL2-devel SDL2_mixer-devel MesaLib-devel alsa-lib-devel"
short_desc="Shockolate - System Shock, but cross platform!"
maintainer="MarcoAPC <marcoaureliopc@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/Interrupt/systemshock"
distfiles="https://github.com/Interrupt/systemshock/archive/${_commit}.tar.gz"
checksum=365281bf0112b4805d1f1623b4b5f5f9b5a09e7af4193c26075df4a62eb01695
patch_args="-Np1"

do_install() {
	vbin build/systemshock
}
